package cn.iocoder.yudao.module.vlog.info.vo;

import cn.iocoder.yudao.framework.common.validation.InEnum;
import cn.iocoder.yudao.module.api.vlog.info.enums.VLogStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "视频状态修改 Request VO")
@Data
public class VLogInfoStatusUpdateReqVO {

    @Schema(description = "唯一编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "8137")
    private Long id;

    @Schema(description = "状态：0-待审核、1-展示中、2-已下架", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态不能为空")
    @InEnum(value = VLogStatusEnum.class, message = "状态必须是 {value}")
    private Integer status;

}
